home *** CD-ROM | disk | FTP | other *** search
/ Raunch / ROM Antics - Raunch.iso / mac / RAUNCH / RAUNCH.DXR / 00061_unloop button.ls < prev    next >
Encoding:
Text File  |  1995-01-26  |  290 b   |  14 lines

  1. on mouseUp
  2.   global LoopVar
  3.   set n to the castNum of sprite 30
  4.   if LoopVar = 1 then
  5.     set the castNum of sprite 19 to 61
  6.     set the loop of cast n to 0
  7.     set LoopVar to 0
  8.   else
  9.     set the castNum of sprite 19 to 52
  10.     set the loop of cast n to 1
  11.     set LoopVar to 1
  12.   end if
  13. end
  14.